@import url(../../styles/commonFun.less);

.home-site-layout {
  .home {
    position: relative;
    overflow: hidden;

    .home-page-container {
      position: relative;
      overflow: hidden;
      .size100();
    }

    .all_content {
      .size100();
      display: flex;
      flex-direction: column;
      position: relative;
      overflow: auto;

      // background-color: #F2F3F5;
      .page-container {
        width: 100%;
        height: 100%;
        position: relative;

        &.size-limit {
          min-width: 1230px;
          min-height: 672px;

          overflow: hidden; // 防止出现抽屉的滚动条
        }
      }
    }
  }

  .home-top-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex: none;
    height: 60px;
    width: 100%;
    padding: 0 16px;
    background-color: #ffffff;
    box-shadow: var(--headerShadow);
    border-bottom: 1px solid var(--borderColor);
    z-index: 1;

    .left-box {
      .logo-icon {
        // width: 262px;
        height: 32px;
        width: auto;
      }

      .title {
        color: var(--titleColor);
        font-size: 20px;
        font-weight: bold;
        line-height: 24px;
      }

      .desc {
        font-size: 20px;
        color: var(--tipsColor);
        border-left: 2px solid var(--borderColor);
        line-height: 24px;
      }
    }

    .right-box {
      .welcome {
        color: var(--colorText3);
        cursor: pointer;

        .user-name {
          color: var(--normalColor);
        }
      }

      .v-divider {
        width: 1px;
        height: 16px;
        background-color: #f2f3f5;
      }

      .user-avatar {
        width: 32px;
        height: 32px;
        border-radius: 50%;
      }

      .name-icon {
        width: 32px;
        height: 32px;
        line-height: 32px;
        text-align: center;
        border-radius: 50%;
        font-weight: bold;
        color: var(--colorPrimary);
        background-color: var(--colorPrimary2);
      }
    }
  }
}

.mainM {
  background-color: #fff;
  width: 236px;
  height: 195px;
  box-shadow: 0px 0px 16px 0px rgb(212, 204, 204);
  padding: 12px 13px;
  border-radius: 2px;

  .mainMTop {
    .top_content {
      margin-bottom: 16px;
      font-size: 12px;
      display: flex;
      flex-direction: row;
      justify-content: flex-start;
      align-items: center;
      line-height: 22px;

      .top_content_title {
        padding-right: 20px;
        color: #8c8c8c;
        white-space: nowrap;
      }

      .top_conten_item {
        font-weight: 400;
      }
    }
  }
}

.signOut {
  .ant-modal-body {
    .signOut_div {
      display: flex;
      align-items: center;
    }
  }
}

.mainPage {
  opacity: 0;
  transition: all 0.3s linear;

  &.mainPageShow {
    opacity: 1;
  }
}

/** 系统名称+图标 */
.common_logo {
  & &_title {
    color: var(--titleColor);
    font-size: 20px;
    font-weight: bold;
    line-height: 24px;
    font-family: Alimama ShuHeiTi, Alimama ShuHeiTi;
  }
}
